/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jsysacc.asistencia.model.dao.design.maestros;

import com.jsysacc.asistencia.model.beans.maestros.ControlAsistencia;
import java.sql.SQLException;
import java.util.ArrayList;
import org.joda.time.DateTime;

/**
 *
 * @author Carlos
 */
public interface IControlAsistenciaDAO {

    public abstract boolean insert(ControlAsistencia entity) throws SQLException;

    public abstract boolean update(ControlAsistencia entity) throws SQLException;

    public abstract boolean delete(DateTime fecha, String num_ide) throws SQLException;

    public abstract ArrayList<ControlAsistencia> getAll() throws SQLException;

    public abstract ArrayList<ControlAsistencia> getByCriterio(String criterio, String valor) throws SQLException;

    public abstract ControlAsistencia getByPk(DateTime fecha, String num_ide) throws SQLException;
}
